package com.anysoft.config;

/**
 * Created by lty on 2018/1/8.
 * 服务器环境配置
 */

public class ServiceConfig {
    
    /**
     * 是否显示log
     */
    public static boolean IS_SHOW_LOG = true;
    /*
     * 是否是测试
     */
    public static boolean isQA = false;
    /**
     * 是否是预生产
     */
    public static boolean isFinalQA = false;
    private static volatile ServiceConfig instance = null;
    
    public String IP = "http://39.106.10.2:8090";//后台接口
    public String H5_IP = "http://39.106.10.2:8070";//H5 IP地址
//
//    public String IP = "http://39.106.10.2:9090";//后台接口
//    public String H5_IP = "http://39.106.10.2:9070";//H5 IP地址

//    public String IP = "http://172.28.113.48:8090";//本地Ip
//    public String H5_IP = "http://172.28.113.48:8070";//本地H5 IP地址
    
    public ServiceConfig() {
    }
    
    public static ServiceConfig getInstance() {
        if (instance == null) {
            synchronized (ServiceConfig.class) {
                if (instance == null) {
                    instance = new ServiceConfig();
                }
            }
        }
        return instance;
    }
    
}
